import { createRouter, createWebHistory } from 'vue-router'
import HomeView from '../views/HomeView.vue'
import NoticeView from '../views/NoticeView.vue'
import IntroductionView from '../views/IntroductionView.vue'
import FeedbackView from '../views/FeedbackView.vue'
import NewsView from '../views/NewsView.vue'

const routes = [
  {
    path: '/home',
    name: 'home',
    component: HomeView
  },
  {
    path: '/notice',
    name: 'notice',
    component: NoticeView
  },
  {
    path: '/introduction',
    name: 'introduction',
    component: IntroductionView
  },
  {
    path: '/feedback',
    name: 'feedback',
    component: FeedbackView
  },
  {
    path: '/news',
    name: 'news',
    component: NewsView
  },
]

const router = createRouter({
  history: createWebHistory(),
  routes
})

export default router
